<#include "/default/layout/account.htm"/> 
<@layout>


      <div class="block-center mt-xl wd-xl">
         <div class="panel panel-dark panel-flat">
            <div class="panel-body" id="registPage">
               <p class="text-center pv" id="show">恭喜${fullname!}注册成功!</p>
               <p></p>
               <a href="${ctx}/login?device=android&redirect=${RequestParameters.redirect!}" class="btn btn-block btn-default">登录</a>
            </div>
         </div>
         <div class="p-lg text-center">
         </div>
      </div>
      
<script type="text/javascript" th:inline="javascript">
	var t=3;//设定跳转的时间 
	setInterval("refer()",1000); //启动1秒定时 
	function refer(){  
	    if(t==0){ 
	        location=[[${redirect}]]; //#设定跳转的链接地址 
	    } 
	    document.getElementById('show').innerHTML="恭喜注册成功，页面"+t+"秒后跳转"; // 显示倒计时 
	    t--; // 计数器递减 
	    //本文转自： 
	} 
</script>
  
</@layout>